package de.koller.transit;

import de.koller.aframe.util.resource.IOLoader;
import de.koller.oceanFramework.util.ColorIntUtil;
import java.awt.image.BufferedImage;

public class TransitStart {
	
	public static final int WIDTH = 1280, HEIGHT = 800;
	
	public static void main( String[] args ) {
		TRoot game = new TRoot();
		game.start();
		
//		outLine();
	}
	
	private static void outLine() {
		BufferedImage img = IOLoader.loadLocalImage( "./gameData/transit/brushSVG.png" );
		
		for( int x = 0; x < img.getWidth(); x++ )
			for( int y = 0; y < img.getHeight(); y++ )
				if( ColorIntUtil.getAValue( img.getRGB( x, y ) ) != 0 )
					img.setRGB( x, y, 0xff_000000 );
		
		IOLoader.savePNG( img, "./gameData/transit/brushSVG_2.png" );
	}
	
}
